+1998-08-19 Raph Levien <raph@gimp.org>
+
+ * gtk/testgtk.c (create_color_preview): pushed the colormap and
+ visual so it would work better with GdkRgb.
+
1998-08-19 Raph Levien <raph@gimp.org>
* gdk/gdkrgb.c: fixed some bugs in the 565_d mode, and added a
+1998-08-19 Raph Levien <raph@gimp.org>
+
+ * gtk/testgtk.c (create_color_preview): pushed the colormap and
+ visual so it would work better with GdkRgb.
+
1998-08-19 Raph Levien <raph@gimp.org>
* gdk/gdkrgb.c: fixed some bugs in the 565_d mode, and added a
+1998-08-19 Raph Levien <raph@gimp.org>
+
+ * gtk/testgtk.c (create_color_preview): pushed the colormap and
+ visual so it would work better with GdkRgb.
+
1998-08-19 Raph Levien <raph@gimp.org>
* gdk/gdkrgb.c: fixed some bugs in the 565_d mode, and added a
+1998-08-19 Raph Levien <raph@gimp.org>
+
+ * gtk/testgtk.c (create_color_preview): pushed the colormap and
+ visual so it would work better with GdkRgb.
+
1998-08-19 Raph Levien <raph@gimp.org>
* gdk/gdkrgb.c: fixed some bugs in the 565_d mode, and added a
+1998-08-19 Raph Levien <raph@gimp.org>
+
+ * gtk/testgtk.c (create_color_preview): pushed the colormap and
+ visual so it would work better with GdkRgb.
+
1998-08-19 Raph Levien <raph@gimp.org>
* gdk/gdkrgb.c: fixed some bugs in the 565_d mode, and added a
+1998-08-19 Raph Levien <raph@gimp.org>
+
+ * gtk/testgtk.c (create_color_preview): pushed the colormap and
+ visual so it would work better with GdkRgb.
+
1998-08-19 Raph Levien <raph@gimp.org>
* gdk/gdkrgb.c: fixed some bugs in the 565_d mode, and added a
+1998-08-19 Raph Levien <raph@gimp.org>
+
+ * gtk/testgtk.c (create_color_preview): pushed the colormap and
+ visual so it would work better with GdkRgb.
+
1998-08-19 Raph Levien <raph@gimp.org>
* gdk/gdkrgb.c: fixed some bugs in the 565_d mode, and added a
if (!window)
{
+ gtk_widget_push_visual (gdk_rgb_get_visual ());
+ gtk_widget_push_colormap (gdk_rgb_get_cmap ());
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
+ gtk_widget_pop_colormap ();
+ gtk_widget_pop_visual ();
gtk_signal_connect (GTK_OBJECT (window), "destroy",
GTK_SIGNAL_FUNC(color_preview_destroy),
if (!window)
{
+ gtk_widget_push_visual (gdk_rgb_get_visual ());
+ gtk_widget_push_colormap (gdk_rgb_get_cmap ());
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
+ gtk_widget_pop_colormap ();
+ gtk_widget_pop_visual ();
gtk_signal_connect (GTK_OBJECT (window), "destroy",
GTK_SIGNAL_FUNC(color_preview_destroy),